<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
</head>
<body>
    <div th:fragment="fgNav">
        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                            data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="/v1/bootIndex">SongBoot</a>
                </div>
                <div id="navbar" class="collapse navbar-collapse">
                    <!-- 左侧  -->
                    <ul class="nav navbar-nav">
                        <li><a href="/v1/index">后台首页</a></li>
                        <li><a href="/v1/topic/topics">主题列表</a></li>
                        <li><a href="#">文档中心</a></li>
                        <li><a href="#">用户中心</a></li>
                    </ul>
                    <!-- 右侧-->
                    <!--<ul class="nav navbar-nav navbar-right">
                        {% if user.is_authenticated %}
                        <li>
                            <a> Hello,{{ user.username }}</a>
                    </li>
                    <li>
                        <a href="{% url 'users:logout' %}">退出</a>
                    </li>
                    {% else %}
                    <li>
                        <a href="{% url 'users:login' %}"> 登录 </a>
                    </li>
                    {% endif %}
                    </ul>-->
                </div>
            </div>
        </div>
    </div>
</body>
</html>